<?php /* Smarty version 2.6.6, created on 2013-10-25 16:12:46
         compiled from audios.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('insert', 'get_audio_categories', 'audios.tpl', 13, false),array('insert', 'get_advertisement', 'audios.tpl', 21, false),array('insert', 'get_seotitle_from_audioid', 'audios.tpl', 72, false),array('modifier', 'stripslashes', 'audios.tpl', 15, false),array('modifier', 'file_exists', 'audios.tpl', 74, false),array('modifier', 'truncate', 'audios.tpl', 85, false),)), $this); ?>
<div id="main_wrap">
    <div class="center_wrap clearfix"> 
        <h2 class="no_bottom no_top breadcrumb"> 
            <a><?php echo $this->_tpl_vars['lang796']; ?>
</a> &gt; <?php echo $this->_tpl_vars['showtitle']; ?>
 
        </h2>

        <div id="sidebar_wrap">  
            <div id="list_cats">
                <a class="category-txt" href="<?php echo $this->_tpl_vars['baseurl']; ?>
/categories/">
                    <img alt="Category" src="<?php echo $this->_tpl_vars['baseurl']; ?>
/images/tjj_music_we_categories.jpg">
                </a>
                <ul id="ul_categories">
                    <?php require_once(SMARTY_CORE_DIR . 'core.run_insert_handler.php');
echo smarty_core_run_insert_handler(array('args' => array('name' => 'get_audio_categories', 'assign' => 'listaudiocategories')), $this); ?>

                    <?php unset($this->_sections['o']);
$this->_sections['o']['name'] = 'o';
$this->_sections['o']['loop'] = is_array($_loop=$this->_tpl_vars['listaudiocategories']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['o']['show'] = true;
$this->_sections['o']['max'] = $this->_sections['o']['loop'];
$this->_sections['o']['step'] = 1;
$this->_sections['o']['start'] = $this->_sections['o']['step'] > 0 ? 0 : $this->_sections['o']['loop']-1;
if ($this->_sections['o']['show']) {
    $this->_sections['o']['total'] = $this->_sections['o']['loop'];
    if ($this->_sections['o']['total'] == 0)
        $this->_sections['o']['show'] = false;
} else
    $this->_sections['o']['total'] = 0;
if ($this->_sections['o']['show']):

            for ($this->_sections['o']['index'] = $this->_sections['o']['start'], $this->_sections['o']['iteration'] = 1;
                 $this->_sections['o']['iteration'] <= $this->_sections['o']['total'];
                 $this->_sections['o']['index'] += $this->_sections['o']['step'], $this->_sections['o']['iteration']++):
$this->_sections['o']['rownum'] = $this->_sections['o']['iteration'];
$this->_sections['o']['index_prev'] = $this->_sections['o']['index'] - $this->_sections['o']['step'];
$this->_sections['o']['index_next'] = $this->_sections['o']['index'] + $this->_sections['o']['step'];
$this->_sections['o']['first']      = ($this->_sections['o']['iteration'] == 1);
$this->_sections['o']['last']       = ($this->_sections['o']['iteration'] == $this->_sections['o']['total']);
?>
                        <li><a href="<?php echo $this->_tpl_vars['baseurl']; ?>
/browse/categories/audios/z/<?php echo $this->_tpl_vars['listaudiocategories'][$this->_sections['o']['index']]['CATID']; ?>
/1/<?php echo ((is_array($_tmp=$this->_tpl_vars['listaudiocategories'][$this->_sections['o']['index']]['name'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : stripslashes($_tmp)); ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['listaudiocategories'][$this->_sections['o']['index']]['name'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : stripslashes($_tmp)); ?>
</a></li>
                    <?php endfor; endif; ?>
                </ul>
            </div>
            <div class="sky_ad">
                <center>
                    <?php require_once(SMARTY_CORE_DIR . 'core.run_insert_handler.php');
echo smarty_core_run_insert_handler(array('args' => array('name' => 'get_advertisement', 'value' => 'var', 'AID' => '2')), $this); ?>

                </center>
            </div>
        </div>

        <div class="right col1">
            <div class="cat_box_full clearfix" id="browse_main"> 
                <table width="100%" cellspacing="3" cellpadding="3" border="0">
                    <tr>
                        <td valign="top">
                            <h2><?php echo $this->_tpl_vars['showtitle']; ?>
</h2>
                        </td>
                    </tr><tr>
                        <td valign="top">
                            <div id="sorting">
                                Sorting:
                                <ul>
                                    <li><a <?php if ($_REQUEST['filter'] == '0'): ?> class="selectedli" <?php endif; ?> href="<?php echo $this->_tpl_vars['baseurl']; ?>
/browse/audios/z/0/1/<?php echo $this->_tpl_vars['lang174'];  echo $this->_tpl_vars['featureCatUrl']; ?>
"><?php echo $this->_tpl_vars['lang191']; ?>
</a></li>
                                    <li><a <?php if ($_REQUEST['filter'] == '1'): ?> class="selectedli" <?php endif; ?> href="<?php echo $this->_tpl_vars['baseurl']; ?>
/browse/audios/z/1/1/<?php echo $this->_tpl_vars['lang178'];  echo $this->_tpl_vars['featureCatUrl']; ?>
"><?php echo $this->_tpl_vars['lang192']; ?>
</a></li>
                                    <li><a <?php if ($_REQUEST['filter'] == '2'): ?> class="selectedli" <?php endif; ?> href="<?php echo $this->_tpl_vars['baseurl']; ?>
/browse/audios/z/2/1/<?php echo $this->_tpl_vars['lang179'];  echo $this->_tpl_vars['featureCatUrl']; ?>
"><?php echo $this->_tpl_vars['lang193']; ?>
</a></li>
                                    <li><a <?php if ($_REQUEST['filter'] == '3'): ?> class="selectedli" <?php endif; ?> href="<?php echo $this->_tpl_vars['baseurl']; ?>
/browse/audios/z/3/1/<?php echo $this->_tpl_vars['lang180'];  echo $this->_tpl_vars['featureCatUrl']; ?>
"><?php echo $this->_tpl_vars['lang194']; ?>
</a></li>
                                    <li><a <?php if ($_REQUEST['filter'] == '4'): ?> class="selectedli" <?php endif; ?> href="<?php echo $this->_tpl_vars['baseurl']; ?>
/browse/audios/z/4/1/<?php echo $this->_tpl_vars['lang182'];  echo $this->_tpl_vars['featureCatUrl']; ?>
"><?php echo $this->_tpl_vars['lang195']; ?>
</a></li>
                                    <li><a <?php if ($_REQUEST['filter'] == '5'): ?> class="selectedli" <?php endif; ?> href="<?php echo $this->_tpl_vars['baseurl']; ?>
/browse/audios/z/5/1/<?php echo $this->_tpl_vars['lang181'];  echo $this->_tpl_vars['featureCatUrl']; ?>
"><?php echo $this->_tpl_vars['lang181']; ?>
</a></li>
                                </ul>
                            </div>
                            <div id="featuring">
                                Featured:
                                <ul>
                                    <li><a <?php if ($this->_tpl_vars['featured'] == "" || $this->_tpl_vars['featured'] == 'all'): ?> class="selectedli" <?php endif; ?>  href="<?php echo $this->_tpl_vars['baseurl']; ?>
/browse/audios/z/<?php echo $this->_tpl_vars['filter']; ?>
/1/<?php echo $this->_tpl_vars['showseotitle']; ?>
&featured=all&cat=<?php echo $this->_tpl_vars['cat']; ?>
">All</a></li>
                                    <li><a <?php if ($this->_tpl_vars['featured'] == '1'): ?> class="selectedli" <?php endif; ?> href="<?php echo $this->_tpl_vars['baseurl']; ?>
/browse/audios/z/<?php echo $this->_tpl_vars['filter']; ?>
/1/<?php echo $this->_tpl_vars['showseotitle']; ?>
&featured=1&cat=<?php echo $this->_tpl_vars['cat']; ?>
">Featured</a></li>
                                    <li><a <?php if ($this->_tpl_vars['featured'] == '0'): ?> class="selectedli" <?php endif; ?> href="<?php echo $this->_tpl_vars['baseurl']; ?>
/browse/audios/z/<?php echo $this->_tpl_vars['filter']; ?>
/1/<?php echo $this->_tpl_vars['showseotitle']; ?>
&featured=0&cat=<?php echo $this->_tpl_vars['cat']; ?>
">Unfeatured</a></li>
                                </ul>
                            </div>        
                        </td>
                    </tr>
                </table>
                <div class="cat_body_full clearfix">
                    <?php if ($this->_tpl_vars['error'] != ""): ?>
                        <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "show_error.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
                    <?php endif; ?>
                    <?php if ($this->_tpl_vars['showmessage'] != ""): ?>
                        <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "show_message.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
                    <?php endif; ?>

                    <!-- LOOP START -->

                    <div id="browse_results">
                        <ul>
                            <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['listaudios']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
                                <li class="video">
                                    <div class="video_i">
                                        <a href="<?php echo $this->_tpl_vars['baseurl']; ?>
/audios/<?php echo $this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['AUDIOID']; ?>
/<?php require_once(SMARTY_CORE_DIR . 'core.run_insert_handler.php');
echo smarty_core_run_insert_handler(array('args' => array('name' => 'get_seotitle_from_audioid', 'assign' => 'title', 'audioid' => $this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['AUDIOID'])), $this); ?>
">
                                        <?php ob_start(); ?>images/audiothumbs/<?php echo $this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['AUDIOID']; ?>
-1<?php echo $this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['ext'];  $this->_smarty_vars['capture']['default'] = ob_get_contents();  $this->assign('player', ob_get_contents());ob_end_clean(); ?> 
                                        <?php if (((is_array($_tmp=$this->_tpl_vars['player'])) ? $this->_run_mod_handler('file_exists', true, $_tmp) : file_exists($_tmp))): ?>
                                            <img class="imag" height="87" width="116" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['title'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : stripslashes($_tmp)); ?>
" src="<?php echo $this->_tpl_vars['athumburl']; ?>
/<?php echo $this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['AUDIOID']; ?>
-1<?php echo $this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['ext']; ?>
" />
                                        <?php else: ?>
                                            <img class="imag" height="87" width="116" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['title'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : stripslashes($_tmp)); ?>
" src="<?php echo $this->_tpl_vars['athumburl']; ?>
/default.png" />
                                        <?php endif; ?>
                                                                                <?php if ($this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['featured'] == '1'): ?> 
                                            <div class="tag"><span class="featured">featured</span></div>
                                        <?php endif; ?>
                                    </a>
                                    <a href="<?php echo $this->_tpl_vars['baseurl']; ?>
/audios/<?php echo $this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['AUDIOID']; ?>
/<?php require_once(SMARTY_CORE_DIR . 'core.run_insert_handler.php');
echo smarty_core_run_insert_handler(array('args' => array('name' => 'get_seotitle_from_audioid', 'assign' => 'title', 'audioid' => $this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['AUDIOID'])), $this); ?>
">
                                        <span class="artist_name"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['title'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : stripslashes($_tmp)))) ? $this->_run_mod_handler('truncate', true, $_tmp, 15, "...", true) : smarty_modifier_truncate($_tmp, 15, "...", true)); ?>
</span>
                                        <span class="song_name"><?php if ($this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['artist'] != ""):  echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['artist'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : stripslashes($_tmp)))) ? $this->_run_mod_handler('truncate', true, $_tmp, 15, "...", true) : smarty_modifier_truncate($_tmp, 15, "...", true));  else: ?>Anonymous<?php endif; ?></span>
                                    </a>

                                </div>
                                </il>
                            <?php endfor; endif; ?>	
                    </ul>
                </div> 
                <!-- LOOP END -->

            </div>

            <div class="paginate">
                <?php echo $this->_tpl_vars['pagelinks']; ?>

            <!--<p class="left"><?php if ($this->_tpl_vars['error'] == ""):  echo $this->_tpl_vars['beginning']; ?>
 - <?php echo $this->_tpl_vars['ending']; ?>
 <?php echo $this->_tpl_vars['lang61']; ?>
 <?php echo $this->_tpl_vars['total']; ?>
 <?php echo $this->_tpl_vars['lang796'];  endif; ?></p>-->
            </div>
        </div>
    </div>
    <div class="clear"></div>
</div>
</div>